from ronglian_sms_sdk import SmsSDK

accId = '8aaf070875e449d70175f4e6e7b3070c'
accToken = 'fe3ef394282644ffb438f97d47ad676a'
appId = '8aaf070875e449d70175f4e6e8740712'

def send_message(phoneNum,checkCode,time):
    sdk = SmsSDK(accId, accToken, appId)
    tid = '1'
    mobile = phoneNum
    datas = (checkCode, time)
    resp = sdk.sendMessage(tid, mobile, datas)
    print(resp)


if __name__ == '__main__':
    send_message('18249974150','8888','5')
